package com.rc.saas.mini.model.rc;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-08-09
 */

@ApiModel(value=" rc_member_level_setting ", description=" 会员等级定义表(user_level) ")
public class RcMemberLevelSetting extends BaseModel{ 

    @ApiModelProperty(value = "子等级v1-1 v1-2")
    private String levelSub;
 
    @ApiModelProperty(value = "等级类型编码,以大写V为前缀,如等级会员V0-L5")
    private String memberLevel;
 
    @ApiModelProperty(value = "等级名称 分别V1~V5")
    private String levelName;
 
    @ApiModelProperty(value = "等级图标")
    private String levelLogo;
 
    @ApiModelProperty(value = "累计充值金额")
    private BigDecimal rechargeAmountTarget;
 
    @ApiModelProperty(value = "累计充电金额")
    private BigDecimal chargingAmountTarget;
 
    @ApiModelProperty(value = "累计充电次数")
    private Integer chargingCountTarget;
 
    @ApiModelProperty(value = "周期类型 0:年 1永久 默认0")
    private String cycleType;
 
    @ApiModelProperty(value = "开始时间,周期为年时，生效")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginTime;
 
    @ApiModelProperty(value = "结束时间,周期为年时，生效")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
 
    @ApiModelProperty(value = "排序")
    private Integer sort;
 
    @ApiModelProperty(value = "说明")
    private String remark;
 
    @ApiModelProperty(value = "状态 0启用 1停用 默认0")
    private String status;
 
    @ApiModelProperty(value = "创建人")
    private String createdBy;
 
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;
 
    @ApiModelProperty(value = "单次充值金额")
    private BigDecimal rechargeAmount;
 
    @ApiModelProperty(value = "折扣0-1")
    private BigDecimal discountAmount;
 
    public String getLevelSub() {
        return levelSub;
    }

    public void setLevelSub(String levelSub) {
        this.levelSub = levelSub;
    }

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getLevelLogo() {
        return levelLogo;
    }

    public void setLevelLogo(String levelLogo) {
        this.levelLogo = levelLogo;
    }

    public BigDecimal getRechargeAmountTarget() {
        return rechargeAmountTarget;
    }

    public void setRechargeAmountTarget(BigDecimal rechargeAmountTarget) {
        this.rechargeAmountTarget = rechargeAmountTarget;
    }

    public BigDecimal getChargingAmountTarget() {
        return chargingAmountTarget;
    }

    public void setChargingAmountTarget(BigDecimal chargingAmountTarget) {
        this.chargingAmountTarget = chargingAmountTarget;
    }

    public Integer getChargingCountTarget() {
        return chargingCountTarget;
    }

    public void setChargingCountTarget(Integer chargingCountTarget) {
        this.chargingCountTarget = chargingCountTarget;
    }

    public String getCycleType() {
        return cycleType;
    }

    public void setCycleType(String cycleType) {
        this.cycleType = cycleType;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

}
